package com.flyco.modules.oms.mapper;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.flyco.modules.oms.entity.OmsOrderTrace;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Description: 订单跟踪
 * @Author: flyco
 * @Date:   2020-03-25
 * @Version: V1.0
 */
@Repository
public interface OmsOrderTraceMapper extends BaseMapper<OmsOrderTrace> {

    List<String> getDeliverySnFromOrder();

    void updateOrderSigned(@Param("orderId") String orderId,@Param("deliverySn") String deliverySn, @Param("receiveTime") Date receiveTime);

    Integer getCountByTraceNo(@Param("traceNo") String traceNo);

}
